home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
ainet
/
exclude.frm
< prev
next >
Wrap
Text File
|
1997-08-06
|
5KB
|
183 lines
VERSION 4.00
Begin VB.Form ExcludeMV
Caption = "Exclude Model Vectors ..."
ClientHeight = 3792
ClientLeft = 2868
ClientTop = 3120
ClientWidth = 3732
Height = 4176
Left = 2820
LinkTopic = "Form1"
ScaleHeight = 3792
ScaleWidth = 3732
Top = 2784
Width = 3828
Begin VB.CommandButton Delete
Caption = "Delete"
Height = 372
Left = 2520
TabIndex = 13
Top = 2760
Width = 852
End
Begin VB.CommandButton Include
Caption = "&Include"
Height = 372
Left = 1440
TabIndex = 10
Top = 2760
Width = 852
End
Begin VB.CommandButton Exclude
Caption = "&Exclude"
Height = 372
Left = 360
TabIndex = 9
Top = 2760
Width = 852
End
Begin VB.CommandButton Cancel
Cancel = -1 'True
Caption = "Cancel"
Height = 372
Left = 1440
TabIndex = 11
Top = 3240
Width = 852
End
Begin VB.OptionButton Single
Caption = "&Single Model Vector"
Height = 252
Left = 480
TabIndex = 1
Top = 1560
Width = 1692
End
Begin VB.TextBox Index
Height = 288
Left = 2520
TabIndex = 8
Top = 1920
Width = 492
End
Begin VB.Frame Frame2
Height = 732
Left = 360
TabIndex = 12
Top = 1680
Width = 3012
Begin VB.Label IndexText
Alignment = 1 'Right Justify
Caption = "Inde&x of model vector:"
Height = 252
Left = 120
TabIndex = 7
Top = 240
Width = 1932
End
End
Begin VB.TextBox Last
Height = 288
Left = 2520
TabIndex = 6
Top = 960
Width = 492
End
Begin VB.TextBox First
Height = 288
Left = 2520
TabIndex = 4
Top = 600
Width = 492
End
Begin VB.OptionButton Range
Caption = "Model Vector &Range"
Height = 252
Left = 480
TabIndex = 0
Top = 240
Width = 1812
End
Begin VB.Frame Frame1
Height = 1092
Left = 360
TabIndex = 2
Top = 360
Width = 3012
Begin VB.Label LastText
Alignment = 1 'Right Justify
Caption = "The &last MV in the range:"
Height = 252
Left = 120
TabIndex = 5
Top = 600
Width = 1932
End
Begin VB.Label FirstText
Alignment = 1 'Right Justify
Caption = "The &first MV in the range:"
Height = 252
Left = 120
TabIndex = 3
Top = 240
Width = 1932
End
End
End
Attribute VB_Name = "ExcludeMV"
Attribute VB_Creatable = False
Attribute VB_Exposed = False
Private Sub Cancel_Click()
MainForm.Ret = 0
Hide
End Sub
Private Sub SetupControls()
If Range = True Then
first.Enabled = True
last.Enabled = True
index.Enabled = False
first.SetFocus
FirstText.Enabled = True
LastText.Enabled = True
IndexText.Enabled = False
Delete.Enabled = False
Else
first.Enabled = False
last.Enabled = False
index.Enabled = True
index.SetFocus
FirstText.Enabled = False
LastText.Enabled = False
IndexText.Enabled = True
Delete.Enabled = True
End If
End Sub
Private Sub Delete_Click()
MainForm.Ret = 3
Hide
End Sub
Private Sub exclude_Click()
MainForm.Ret = 1
Hide
End Sub
Private Sub Form_Activate()
If Range = True Then Delete.Enabled = False
End Sub
Private Sub Include_Click()
MainForm.Ret = 2
Hide
End Sub
Private Sub Range_Click()
SetupControls
End Sub
Private Sub Single_Click()
SetupControls
End Sub